<script type="text/javascript">
	Yutil.useLoadingMessage();
	calculateInsurance();
</script>    
<%
	String employeeid = request.getParameter("employeeids");
	String insuranceEmployees = request.getParameter("insuranceEmployees");
	
	//only this varable for use, above is passed from different page
	String employees = (employeeid == null) ? ((insuranceEmployees == null) ? "" : insuranceEmployees) : employeeid;
%>
<table align="left">
	<tr>
		<th>EmployeeId_Name</th>
		<th>养老保险金</th>
		<th>医疗保险金</th>
		<th>失业保险金</th>
		<th>工商保险金</th>
		<th>生育保险金</th>
	</tr>
	<tr>
		<th>单位缴纳数</th>
		<td>
			<input id="endowment_enterprise" name="endowment_enterprise" class="number"/><small>(22%)</small>
			<input id="endowment_enterprise_rate" value="<%= FinancialRateService.$.getEndowmentRATE_C(employeeid)%>" type="hidden"/>
		</td>
		<td>
			<input id="medical_enterprise" name="medical_enterprise" class="number"/><small>(12%)</small> 
			<input id="medical_enterprise_rate" value="<%= FinancialRateService.$.getMedicalRATE_C(employeeid)%>" type="hidden"/> 
		</td>
		<td>
			<input id="suspension_enterprise" name="suspension_enterprise" class="number"/><small>(2%)</small>
			<input id="suspension_enterprise_rate" value="<%= FinancialRateService.$.getSuspensionRATE_C(employeeid)%>" type="hidden"/> 
		</td>
		<td>
			<input id="workplace_enterprise" name="workplace_enterprise" class="number"/><small>(0.5%)</small>
			<input id="workplace_enterprise_rate" value="<%= FinancialRateService.$.getWorkplaceRATE_C(employeeid)%>" type="hidden"/> 
		</td>
		<td>
			<input id="maternity_enterprise" name="maternity_enterprise" class="number"/><small>(0.5%)</small>
			<input id="maternity_enterprise_rate" value="<%= FinancialRateService.$.getMaterntiyRATE_C(employeeid)%>" type="hidden"/>  
		</td>
	</tr>
	<tr>
		<th>个人缴纳数</th>
		<td>
			<input id="endowment_employee" name="endowment_employee" class="number"/><small>(8%)</small>
			<input id="endowment_employee_rate" value="<%= FinancialRateService.$.getEndowmentRATE_E(employeeid)%>" type="hidden"/>
		</td>
		<td>
			<input id="medical_employee" name="medical_employee" class="number"/><small>(2%)</small>
			<input id="medical_employee_rate" value="<%= FinancialRateService.$.getMedicalRATE_E(employeeid)%>" type="hidden"/> 
		</td>
		<td>
			<input id="suspension_employee" name="suspension_employee" class="number"/><small>(1%)</small>
			<input id="suspension_employee_rate" value="<%= FinancialRateService.$.getSuspensionRATE_E(employeeid)%>" type="hidden"/> 
		</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<th>单位缴纳总数</th>
	</tr>
</table>
<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ page import="com.esms.struts.service.*" %>